﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Threading.Tasks;

namespace StudyStationWEBAPI.Model
{
    public class User
    {
        [Key]//主键
        [Required]//非空
        public string name { get; set; }
        [Required]
        public string password { get; set; }
        public string token { get; set; }
        [Required]
        public string department { get; set; }
    }
}
